<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
</head>
<style>
    .reg_msg{
        color: #0bdf0b;
    }
    .reg_span p span{
        color: #d40c0c;
    }
</style>
<h1>用户登录</h1>
<p class="reg_msg">{{msg}}</p>
<body>
<form class="reg_span" action="{{url_for('user.login')}}" method="post">
    <p><input type="text" name="username" placeholder="账号"/>&nbsp;&nbsp;<span>{{uname}}</span></p>
    <p><input type="text" name="password" placeholder="密码"/>&nbsp;&nbsp;<span>{{pw}}</span></p>
    <p><input type="submit" value="登录"/>&nbsp;&nbsp;<a href="{{url_for('user.register')}}">去注册</a>&nbsp;&nbsp;<a href="{{url_for('user.mod_pwd')}}">修改密码</a></p>
</form>

</body>
</html>